from tkinter import *
x = int(input())
y = int(input())
c = int(input())
if x + x + (10 * c) <= 500 and y + y + (30 * c) <= 500:
    root=Tk()
    root.title("Змейка")
    canvas=Canvas(root,width=500,height=500,bg="white")
    canvas.pack()
    poly = canvas.create_polygon(x,y,x,y+15 * c,x+5 * c,y+15*c,x+5 *c,y+25*c,x+10*c,y+25*c,x+10*c,y+10*c,x+5*c,y+10*c,x+5 *c,y,width=3,outline="black",fill="lime",stipple="gray50")
else:
    print('Размер фигуры превышает максимальный размер поля')
